package a.f.h.f;

import a.c.n;
import a.c.w;
import a.c.x;
import a.f.h.b.f;
import a.f.j.cb;
import a.f.o;

import java.util.ArrayList;

public class d
  implements a.f.h.b.b
{
  public static final int a = 1;
  public static final int b = 700;
  public static final int c = 500;
  public static final int d = 5;
  public static final int e = 500;
  public static final int f = 5000;
  public static final int g = 0;
  public static final int h = 1;
  protected o i;
  protected f j;
  protected a.c.k k;
  protected boolean l;
  private a.f.h.f.a.e m;
  private n n;
  private n o;
  private n p;
  private x q;
  private a.f.h.b.k r = a.f.h.b.k.a;
  private int s = 0;
  n t = null;
  protected a.f.h.d.q u = new a.f.h.d.m();
  public static int v;
  
  public void a(a.f.h.b.k paramk)
  {
    this.r = paramk;
  }
  
  public void a(f paramf)
  {
    this.j = paramf;
    this.i = ((o)paramf.a());
  }
  
  public void a(a.f.h.f.a.e parame)
  {
    this.m = parame;
  }
  
  public void a(n paramn)
  {
    this.n = paramn;
  }
  
  public void a(x paramx)
  {
    this.q = paramx;
  }
  
  public int b()
  {
    return this.s;
  }
  
  public void a(a.c.k paramk)
  {
    this.k = paramk;
  }
  
  public void b(n paramn)
  {
    this.o = paramn;
  }
  
  public void c(n paramn)
  {
    this.p = paramn;
  }
  
  public void a(boolean paramBoolean)
  {
    this.l = paramBoolean;
  }
  
  public a.f.h.d.q c()
  {
    return this.u;
  }
  
  public void a(a.f.h.d.q paramq)
  {
    this.u = paramq;
  }
  
  public void a()
  {
    int i2 = c.n;
    int i1 = c.m;
    n localn1 = this.i.C();
    n localn2 = this.i.C();
    cb localcb = (cb)this.j.b();
    h localh = new h(localcb, this.n, this.o, localn1, localn2);
    localcb.a(localh);
    e(localn1);
    d(localn2);
    b localb = new b();
    localb.a(this.j);
    localb.a(this.m);
    x localx = this.i.B();
    localb.a(localx);
    a.f.h.d.k localk = new a.f.h.d.k();
    localk.a(this.j);
    localk.a(localn2);
    localk.a(localx);
    localk.c(localn1);
    localk.c(this.l);
    localk.a(this.u);
    n localn3 = this.i.C();
    localk.b(localn3);
    localk.a();
    Object localObject = this.i.q();
    a.c.m localm = this.i.w();
    do
    {
      if (!localm.e()) {
        break;
      }
      a.c.d locald = localm.a();
      String str = this.j.f(locald);
      if (i2 != 0) {
        break label398;
      }
      if (i1 != 0) {
        break label390;
      }
      if (i2 == 0)
      {
        if ((a(locald)) && ((i2 != 0) || (str != null)))
        {
          if (i2 != 0) {
            continue;
          }
          if (str.equals("^"))
          {
            localObject = locald;
            if (i2 != 0) {
              break label389;
            }
            if (i1 == 0) {
              break;
            }
          }
        }
        localm.f();
      }
    } while (i1 == 0);
    this.j.a(localn3, (a.c.d)localObject, this.r);
    this.j.m();
    this.s = localk.b();
    this.j.o();
    localcb.b(localh);
    this.i.a(localn3);
    this.i.a(localn2);
    this.i.a(localn1);
    if (i2 == 0) {
      label389:
      label390:
      this.i.a(localx);
    }
    label398:
    if (i2 == 0)
    {
      if (a.c.q.n) {
        i1++;
      }
    }
    else {
      c.m = i1;
    }
    if (a.c.q.o)
    {
      i2++;
      c.n = i2;
    }
  }
  
  private boolean a(a.c.d paramd)
  {
    int i1 = c.n;
    if ((i1 != 0) || (!this.o.getBool(paramd))) {
      if (i1 != 0) {}
    }
    return this.m.a(paramd) != 0;
  }
  
  private boolean b(a.c.d paramd)
  {
    if (c.n == 0) {}
    return this.m.a(paramd) == 1;
  }
  
  private boolean d(a.c.d paramd)
  {
    if (c.n == 0) {}
    return this.m.a(paramd) == 2;
  }
  
  private boolean e(a.c.d paramd)
  {
    int i1 = c.n;
    if (i1 == 0) {
      if (this.m.a(paramd) != 1) {
        if (i1 != 0) {
          break label37;
        }
      }
    }
    label37:
    return this.m.a(paramd) == 2;
  }
  
  private boolean f(a.c.d paramd)
  {
    int i1 = c.n;
    a.c.d locald = this.j.a(paramd);
    if (i1 == 0) {
      if (!this.n.getBool(paramd)) {
        if (i1 != 0) {
          break label48;
        }
      }
    }
    label48:
    return this.n.getBool(locald);
  }
  
  private boolean g(a.c.d paramd)
  {
    int i1 = c.n;
    a.c.d locald = this.j.a(paramd);
    if (i1 == 0) {
      if (!this.p.getBool(paramd)) {
        if (i1 != 0) {
          break label48;
        }
      }
    }
    label48:
    return this.p.getBool(locald);
  }
  
  private void d(n paramn)
  {
    int i2 = c.n;
    int i1 = c.m;
    a.c.m localm = this.i.w();
    label161:
    label169:
    do
    {
      if (!localm.e()) {
        break;
      }
      a.c.d locald = localm.a();
      if (i2 == 0) {
        if (f(locald))
        {
          paramn.a(locald, 700);
          if (i2 != 0) {
            continue;
          }
          if (i1 == 0) {
            break label169;
          }
        }
      }
      if (i2 == 0) {
        if (e(locald))
        {
          paramn.a(locald, 500);
          if (i2 != 0) {
            continue;
          }
          if (i1 == 0) {
            break label169;
          }
        }
      }
      if (i2 == 0) {
        if (!this.k.getBool(locald))
        {
          if (i2 == 0) {
            if (!this.k.getBool(this.j.a(locald))) {
              break label161;
            }
          }
        }
        else {
          paramn.a(locald, 5);
        }
      }
      if (i2 == 0)
      {
        if (i1 != 0) {
          paramn.a(locald, 1);
        }
        localm.f();
      }
    } while (i1 == 0);
  }
  
  private void e(n paramn)
  {
    int i9 = c.n;
    int i8 = c.m;
    String[] arrayOfString1 = new String[this.i.l()];
    String[] arrayOfString2 = new String[this.i.l()];
    Object localObject1 = this.i.v();
    Object localObject2;
    a.c.d locald1;
    Object localObject8;
    label236:
    label502:
    Object localObject4;
    label294:
    label304:
    label468:
    label479:
    label629:
    Object localObject6;
    label575:
    label577:
    Object localObject9;
    label805:
    label893:
    do
    {
      do
      {
        if (!((w)localObject1).e()) {
          break;
        }
        localObject2 = ((w)localObject1).d();
        if (i8 != 0) {
          break label1219;
        }
        if (!this.j.b((a.c.e)localObject2))
        {
          locald1 = this.m.b((a.c.e)localObject2);
          int i6;
          if (i9 == 0) {
            if (locald1 != null)
            {
              int i2 = -1;
              ArrayList localArrayList = new ArrayList();
              int i4 = 0;
              a.c.m localm = ((a.c.e)localObject2).b(locald1);
              i6 = 0;
              do
              {
                if (i6 >= localm.k()) {
                  break;
                }
                localObject8 = localm.a();
                if (i8 != 0) {
                  break label236;
                }
                if (b((a.c.d)localObject8))
                {
                  i4 = i6;
                  if (i9 == 0) {
                    if (f((a.c.d)localObject8)) {
                      i2 = i6;
                    }
                  }
                  if (i9 != 0) {
                    continue;
                  }
                  if (g((a.c.d)localObject8)) {
                    localArrayList.add(new Integer(i6));
                  }
                }
                localm.b();
                i6++;
              } while (i8 == 0);
              i4++;
              if (i9 == 0)
              {
                if (i2 < 0)
                {
                  if (i9 == 0) {
                    if (localArrayList.size() > 0)
                    {
                      i6 = (localArrayList.size() - 1) / 2;
                      i2 = ((Integer)localArrayList.get(i6)).intValue();
                      if (i9 != 0) {
                        break label304;
                      }
                      if (i8 == 0) {
                        break label294;
                      }
                    }
                  }
                  i2 = i4 / 2;
                }
                localm = ((a.c.e)localObject2).b(locald1);
              }
              i6 = 0;
              do
              {
                if (i6 >= i4) {
                  break label629;
                }
                localObject8 = localm.a();
                String str1 = null;
                if (i8 != 0) {
                  break;
                }
                if (i6 < i2)
                {
                  if ((i9 != 0) || (!this.q.getBool(localObject2)))
                  {
                    if (b((a.c.d)localObject8)) {
                      str1 = "^<^";
                    } else {
                      str1 = "^<+";
                    }
                  }
                  else {
                    str1 = "<^";
                  }
                  paramn.a(localObject8, true);
                }
                if (i9 == 0)
                {
                  if (i6 == i2) {
                    if ((i9 != 0) || ((!this.q.getBool(localObject2)) || ((i9 != 0) || (i4 % 2 == 1))))
                    {
                      if (i9 == 0)
                      {
                        if (b((a.c.d)localObject8)) {
                          str1 = "^";
                        }
                      }
                      else
                      {
                        if (i9 != 0) {
                          break label479;
                        }
                        if (i8 == 0) {
                          break label468;
                        }
                      }
                      str1 = "^+";
                      paramn.a(localObject8, false);
                      if (i9 != 0) {
                        break label502;
                      }
                      if (i8 == 0) {}
                    }
                    else
                    {
                      str1 = "<^";
                      paramn.a(localObject8, true);
                    }
                  }
                  if (i9 != 0) {}
                }
                else
                {
                  if (i6 > i2)
                  {
                    if ((i9 != 0) || (!this.q.getBool(localObject2)))
                    {
                      if (i9 == 0) {
                        if (b((a.c.d)localObject8))
                        {
                          str1 = "^>^";
                          if (i9 == 0) {
                            if (i8 == 0) {
                              break label577;
                            }
                          }
                        }
                        else
                        {
                          if (i9 != 0) {
                            break label575;
                          }
                          str1 = "^>+";
                        }
                      }
                      if (i8 == 0) {
                        break label577;
                      }
                    }
                    str1 = ">^";
                    paramn.a(localObject8, true);
                  }
                  arrayOfString1[localObject8.d()] = str1;
                  arrayOfString2[this.j.a(localObject8).d()] = f.a(str1);
                  localm.b();
                  i6++;
                }
              } while (i8 == 0);
            }
          }
          localObject4 = this.m.a((a.c.e)localObject2);
          if (i9 != 0) {
            continue;
          }
          if (localObject4 != null)
          {
            int i3 = -1;
            localObject6 = new ArrayList();
            int i5 = 0;
            i6 = 0;
            localObject8 = ((a.c.e)localObject2).b((a.c.d)localObject4);
            int i7 = 0;
            do
            {
              if (i7 >= ((a.c.m)localObject8).k()) {
                break;
              }
              localObject9 = ((a.c.m)localObject8).a();
              if (i8 != 0) {
                break label805;
              }
              if (d((a.c.d)localObject9))
              {
                i5 = i7;
                if (i9 == 0) {
                  if (f((a.c.d)localObject9))
                  {
                    if (i9 == 0) {
                      if (i3 != -1) {
                        i6 = 1;
                      }
                    }
                    i3 = i7;
                  }
                }
                if (i9 != 0) {
                  continue;
                }
                if (g((a.c.d)localObject9)) {
                  ((ArrayList)localObject6).add(new Integer(i7));
                }
              }
              ((a.c.m)localObject8).b();
              i7++;
            } while (i8 == 0);
            i5++;
            if ((i9 == 0) && (i3 < 0))
            {
              i3 = (i5 - 1) / 2;
              if (i9 != 0) {
                break label893;
              }
              if (((ArrayList)localObject6).size() > 0)
              {
                i7 = (((ArrayList)localObject6).size() - 1) / 2;
                i3 = ((Integer)((ArrayList)localObject6).get(i7)).intValue();
                if (i9 != 0) {
                  break label893;
                }
                if (i8 == 0) {}
              }
            }
            else
            {
              if (i9 != 0) {
                break label893;
              }
              if (i6 != 0) {
                i3 = (i5 - 1) / 2;
              }
            }
            localObject8 = ((a.c.e)localObject2).b((a.c.d)localObject4);
            i7 = 0;
            do
            {
              if (i7 >= i5) {
                break label1186;
              }
              localObject9 = ((a.c.m)localObject8).a();
              String str2 = null;
              if (i8 != 0) {
                break;
              }
              if (i7 < i3)
              {
                if ((i9 != 0) || (!this.q.getBool(localObject2)))
                {
                  if (d((a.c.d)localObject9)) {
                    str2 = "_>_";
                  } else {
                    str2 = "_>+";
                  }
                }
                else {
                  str2 = ">_";
                }
                paramn.a(localObject9, true);
              }
              else
              {
                if (i9 == 0) {
                  if (i7 == i3)
                  {
                    if ((i9 != 0) || ((!this.q.getBool(localObject2)) || ((i9 != 0) || (i5 % 2 == 1))))
                    {
                      if (d((a.c.d)localObject9)) {
                        str2 = "_";
                      } else {
                        str2 = "_+";
                      }
                      paramn.a(localObject9, false);
                      break label1143;
                    }
                    str2 = ">_";
                    paramn.a(localObject9, true);
                    break label1143;
                  }
                }
                if ((i9 != 0) || (i7 > i3))
                {
                  if ((i9 != 0) || (!this.q.getBool(localObject2)))
                  {
                    if (d((a.c.d)localObject9)) {
                      str2 = "_<_";
                    } else {
                      str2 = "_<+";
                    }
                  }
                  else {
                    str2 = "<_";
                  }
                  paramn.a(localObject9, true);
                }
              }
              arrayOfString1[localObject9.d()] = str2;
              arrayOfString2[this.j.a(localObject9).d()] = f.a(str2);
              ((a.c.m)localObject8).b();
              i7++;
            } while (i8 == 0);
          }
        }
        ((w)localObject1).f();
      } while (i8 == 0);
    } while (i9 != 0);
    label1143:
    localObject1 = this.i.v();
    label1186:
    label1219:
    Object localObject5;
    Object localObject7;
    a.c.d locald2;
    label1525:
    do
    {
      if (!((w)localObject1).e()) {
        break;
      }
      localObject2 = ((w)localObject1).d();
      locald1 = this.m.b((a.c.e)localObject2);
      if (i8 != 0) {
        break label2225;
      }
      if ((this.j.b((a.c.e)localObject2)) && (locald1 != null))
      {
        localObject4 = ((a.c.e)localObject2).b(locald1);
        if (i9 == 0) {
          if (((a.c.m)localObject4).k() != 4) {
            throw new RuntimeException("Node " + localObject2 + " is not a crossing!!");
          }
        }
        localObject5 = ((a.c.m)localObject4).a();
        paramn.a(localObject5, false);
        ((a.c.m)localObject4).b();
        localObject6 = ((a.c.m)localObject4).a();
        paramn.a(localObject6, false);
        ((a.c.m)localObject4).b();
        localObject7 = ((a.c.m)localObject4).a();
        paramn.a(localObject7, false);
        ((a.c.m)localObject4).b();
        locald2 = ((a.c.m)localObject4).a();
        paramn.a(locald2, false);
        if (i9 == 0)
        {
          if (b((a.c.d)localObject6))
          {
            if (i9 == 0)
            {
              if (f((a.c.d)localObject6))
              {
                arrayOfString1[localObject5.d()] = "<^";
                arrayOfString1[localObject6.d()] = "^";
                arrayOfString1[localObject7.d()] = ">_";
                arrayOfString1[locald2.d()] = "_";
              }
            }
            else
            {
              if (i9 != 0) {
                break label1623;
              }
              if (i8 == 0) {
                break label1525;
              }
            }
            arrayOfString1[localObject5.d()] = "^";
            arrayOfString1[localObject6.d()] = ">^";
            arrayOfString1[localObject7.d()] = "_";
            arrayOfString1[locald2.d()] = "<_";
            arrayOfString2[this.j.a(localObject5).d()] = f.a(arrayOfString1[localObject5.d()]);
            arrayOfString2[this.j.a(localObject6).d()] = f.a(arrayOfString1[localObject6.d()]);
            arrayOfString2[this.j.a(localObject7).d()] = f.a(arrayOfString1[localObject7.d()]);
            arrayOfString2[this.j.a(locald2).d()] = f.a(arrayOfString1[locald2.d()]);
            if (i9 != 0) {
              continue;
            }
            if (i8 == 0) {}
          }
          else
          {
            arrayOfString1[localObject5.d()] = "^";
            arrayOfString1[localObject7.d()] = "_";
            arrayOfString2[this.j.a(localObject5).d()] = f.a(arrayOfString1[localObject5.d()]);
          }
        }
        else {
          arrayOfString2[this.j.a(localObject7).d()] = f.a(arrayOfString1[localObject7.d()]);
        }
      }
      ((w)localObject1).f();
    } while (i8 == 0);
    label1623:
    Object localObject3;
    if (i9 == 0)
    {
      localObject1 = this.i.w();
      label1820:
      label1871:
      do
      {
        do
        {
          if (!((a.c.m)localObject1).e()) {
            break;
          }
          localObject2 = ((a.c.m)localObject1).a();
          int i1 = ((a.c.d)localObject2).d();
          if (i8 != 0) {
            break label2590;
          }
          if (arrayOfString1[i1] != null)
          {
            if (i9 != 0) {
              break label1820;
            }
            if (arrayOfString2[i1] != null)
            {
              this.j.a((a.c.d)localObject2, arrayOfString1[i1] + arrayOfString2[i1]);
              if (i9 != 0) {
                continue;
              }
              if (i8 == 0) {
                break label1871;
              }
            }
          }
          if (i9 == 0) {
            if (arrayOfString1[i1] != null)
            {
              this.j.a((a.c.d)localObject2, arrayOfString1[i1]);
              if (i9 != 0) {
                continue;
              }
            }
          }
          if ((i8 != 0) && (arrayOfString2[i1] != null)) {
            this.j.a((a.c.d)localObject2, arrayOfString2[i1]);
          }
          ((a.c.m)localObject1).f();
        } while (i8 == 0);
      } while (i9 != 0);
      localObject1 = this.i.w();
      do
      {
        do
        {
          if (!((a.c.m)localObject1).e()) {
            break;
          }
          localObject2 = ((a.c.m)localObject1).a();
          if (i8 != 0) {
            break label2590;
          }
          if (this.j.f((a.c.d)localObject2) != null)
          {
            if (i9 == 0) {
              if (this.j.f(this.j.a((a.c.d)localObject2)) == null) {
                throw new RuntimeException("Reverse shape of " + localObject2 + " is null !");
              }
            }
            if (i9 != 0) {
              continue;
            }
            if (!this.j.f((a.c.d)localObject2).equals(f.a(this.j.f(this.j.a((a.c.d)localObject2))))) {
              throw new RuntimeException("Reverse shape of " + localObject2 + " shape: " + this.j.f((a.c.d)localObject2) + " = " + this.j.f(this.j.a((a.c.d)localObject2)));
            }
          }
          ((a.c.m)localObject1).f();
        } while (i8 == 0);
      } while (i9 != 0);
      localObject1 = this.i.w();
      do
      {
        if (!((a.c.m)localObject1).e()) {
          break;
        }
        localObject2 = ((a.c.m)localObject1).a();
        localObject3 = this.j.f((a.c.d)localObject2);
        if (i8 != 0) {
          break label2594;
        }
        if (localObject3 != null)
        {
          localObject3 = a((String)localObject3);
          this.j.a((a.c.d)localObject2, (String)localObject3);
          this.j.g((a.c.d)localObject2);
        }
        ((a.c.m)localObject1).f();
      } while (i8 == 0);
      if (i9 == 0)
      {
        localObject1 = this.i.v();
        label2225:
        do
        {
          if (!((w)localObject1).e()) {
            break;
          }
          localObject2 = ((w)localObject1).d();
          if (i8 != 0) {
            break label2554;
          }
          if (i9 == 0)
          {
            if (this.j.b((a.c.e)localObject2))
            {
              localObject3 = ((a.c.e)localObject2).n();
              localObject4 = ((a.c.m)localObject3).a();
              localObject5 = this.j.f((a.c.d)localObject4);
              ((a.c.m)localObject3).b();
              localObject6 = ((a.c.m)localObject3).a();
              localObject7 = this.j.f((a.c.d)localObject6);
              ((a.c.m)localObject3).b();
              locald2 = ((a.c.m)localObject3).a();
              localObject8 = this.j.f(locald2);
              ((a.c.m)localObject3).b();
              a.c.d locald3 = ((a.c.m)localObject3).a();
              localObject9 = this.j.f(locald3);
              if (i9 == 0)
              {
                if (!a(1, (String)localObject5, (String)localObject7, (String)localObject8, (String)localObject9))
                {
                  if (i9 != 0) {
                    continue;
                  }
                  if (!a(0, (String)localObject5, (String)localObject7, (String)localObject8, (String)localObject9)) {}
                }
                else
                {
                  this.j.a((a.c.d)localObject4, ((String)localObject5).substring(1));
                  this.j.g((a.c.d)localObject4);
                  paramn.a(localObject4, false);
                  this.j.a((a.c.d)localObject6, ((String)localObject7).substring(1));
                  this.j.g((a.c.d)localObject6);
                  paramn.a(localObject6, false);
                  this.j.a(locald2, ((String)localObject8).substring(1));
                  this.j.g(locald2);
                  paramn.a(locald2, false);
                  this.j.a(locald3, ((String)localObject9).substring(1));
                }
              }
              else
              {
                this.j.g(locald3);
                paramn.a(locald3, false);
              }
            }
            ((w)localObject1).f();
          }
        } while (i8 == 0);
      }
    }
    else
    {
      label2554:
      localObject1 = this.i.w();
    }
    label2590:
    label2594:
    label2683:
    do
    {
      if (!((a.c.m)localObject1).e()) {
        break;
      }
      localObject2 = ((a.c.m)localObject1).a();
      localObject3 = this.j.f((a.c.d)localObject2);
      if (localObject3 != null)
      {
        if (i9 == 0) {
          if (this.j.b(((a.c.d)localObject2).e()))
          {
            if (i9 != 0) {
              break label2683;
            }
            if (this.j.b(((a.c.d)localObject2).f()))
            {
              a((a.c.d)localObject2, (String)localObject3, "<_<", "<");
              a((a.c.d)localObject2, (String)localObject3, ">_>", ">");
              if (i9 != 0) {
                continue;
              }
              if (i8 == 0) {
                break label2803;
              }
            }
          }
        }
        if (i9 == 0)
        {
          if (this.j.b(((a.c.d)localObject2).e()))
          {
            a((a.c.d)localObject2, (String)localObject3, "<_<_", "<_");
            a((a.c.d)localObject2, (String)localObject3, ">_>_", ">_");
            if (i9 != 0) {
              continue;
            }
            if (i8 == 0) {
              break label2803;
            }
          }
          if (i9 != 0) {}
        }
        else
        {
          if (this.j.b(((a.c.d)localObject2).f()))
          {
            a((a.c.d)localObject2, (String)localObject3, "_<_<", "_<");
            a((a.c.d)localObject2, (String)localObject3, "_>_>", "_>");
            if (i9 != 0) {
              continue;
            }
            if (i8 == 0) {
              break label2803;
            }
          }
          a((a.c.d)localObject2, (String)localObject3, "_<_<_", "_<_");
        }
        a((a.c.d)localObject2, (String)localObject3, "_>_>_", "_>_");
      }
      ((a.c.m)localObject1).f();
    } while (i8 == 0);
    label2803:
  }
  
  private void b(f paramf)
  {
    int i2 = c.n;
    int i1 = c.m;
    w localw = paramf.a().v();
    label176:
    do
    {
      do
      {
        if (!localw.e()) {
          return;
        }
        a.c.e locale = localw.d();
        System.out.print("node " + locale);
        if (i2 == 0) {
          if (paramf.b(locale))
          {
            System.out.print("\t (is crossing)");
            if (i2 != 0) {
              break label176;
            }
          }
        }
        if ((i1 != 0) && (paramf.h(locale))) {
          System.out.print("\t (is bend)");
        }
        System.out.println();
        System.out.println("\t first in edge: " + this.m.a(locale));
        System.out.println("\t first out edge: " + this.m.b(locale));
        a.c.m localm = locale.n();
        do
        {
          if (!localm.e()) {
            break;
          }
          a.c.d locald = localm.a();
          System.out.println("\t shape to " + locald.f() + " is " + paramf.f(locald));
          localm.f();
          if (i2 != 0) {
            break label279;
          }
          if (i1 != 0) {
            break label277;
          }
        } while (i1 == 0);
      } while (i2 != 0);
      localw.f();
    } while (i1 == 0);
    label277:
    label279:
    return;
  }
  
  protected void a(a.c.d paramd, String paramString1, String paramString2, String paramString3)
  {
    if (paramString1.equals(paramString2))
    {
      this.j.a(paramd, paramString3);
      this.j.g(paramd);
    }
  }
  
  private boolean a(int paramInt, String paramString1, String paramString2, String paramString3, String paramString4)
  {
    int i1 = c.n;
    if (((i1 != 0) || (a(paramInt, paramString1))) && ((i1 != 0) || (a(paramInt, paramString2))) && ((i1 != 0) || (a(paramInt, paramString3)))) {
      if (i1 != 0) {}
    }
    return a(paramInt, paramString4);
  }
  
  private boolean a(int paramInt, String paramString)
  {
    int i5 = c.n;
    if ((i5 != 0) || (paramString != null))
    {
      if (i5 != 0) {
        break label34;
      }
      if (paramString.length() >= 2) {}
    }
    else
    {
      return false;
    }
    label34:
    int i1 = paramString.charAt(0);
    int i2 = paramString.charAt(1);
    String str = "^>_<^>_<";
    int i3 = str.indexOf(i1);
    int i4 = str.indexOf(i2, i3);
    if (i5 == 0)
    {
      if (paramInt == 1)
      {
        if (i5 == 0) {}
        return i4 - i3 == 1;
      }
      if (i5 != 0) {
        break label110;
      }
    }
    label110:
    return i4 - i3 == 3;
  }
  
  private String a(String paramString)
  {
    int i4 = c.n;
    int i3 = c.m;
    StringBuffer localStringBuffer = new StringBuffer();
    int i1 = 32;
    int i2 = 0;
    label93:
    do
    {
      if (i2 >= paramString.length()) {
        break;
      }
      if ((i4 == 0) && (i3 != 0)) {
        break label108;
      }
      char c1 = paramString.charAt(i2);
      if ((i4 != 0) || (c1 != '>')) {
        if (i4 == 0)
        {
          if (c1 != '<') {
            if (i4 != 0) {
              continue;
            }
          }
        }
        else {
          if (c1 == i1) {
            break label93;
          }
        }
      }
      localStringBuffer.append(c1);
      i1 = c1;
      i2++;
    } while (i3 == 0);
    label108:
    return localStringBuffer.toString();
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.h.f.d

 * JD-Core Version:    0.7.0.1

 */